package com.qf.shop.vo;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ Author     ：lzq.
 * @ Date       ：Created in 22:21 2020/10/22
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExcelUser {
    // 保证 @ExcelProperty 值与 表格中的头信息一致
    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("密码")
    private String password;

    @ExcelProperty("电话")
    private String phone;

    @ExcelProperty("性别")
    private String sex;

    @ExcelProperty("邮箱")
    private String email;

    @ExcelProperty("状态")
    private Integer status;


    @ExcelProperty("注册日期")
    @DateTimeFormat("yyyy/MM/dd")
    private Date registerDate;

    @ExcelProperty("资金")
    private Long balance;


}
